package com.wonder.bean.kingdee;

/**
 * 金蝶账号Bean
 */
public class KingdeeAccount {
    /** 服务器地址 */
    private String url;
    /** 数据中心 */
    private String dataCenterId;
    /** 账号 */
    private String account;
    /** 密码 */
    private String password;
    /** 语言 */
    private int lang;

    /**
     * 默认构造
     *
     * @param url 服务器地址
     * @param dataCenterId 数据中心
     * @param account 账号
     * @param password 密码
     * @param lang 语言
     */
    public KingdeeAccount(String url, String dataCenterId, String account, String password, int lang) {
        setUrl(url);
        setDataCenterId(dataCenterId);
        setAccount(account);
        setPassword(password);
        setLang(lang);
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getDataCenterId() {
        return dataCenterId;
    }

    public void setDataCenterId(String dataCenterId) {
        this.dataCenterId = dataCenterId;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public int getLang() {
        return lang;
    }

    public void setLang(int lang) {
        this.lang = lang;
    }
}
